package com.qiqi.service.order;

import java.util.Map;

import com.qiqi.domain.Order;
import com.qiqi.domain.OrderExample;

public interface OrderService {
	/**
	 * 分页查询订单信息
	 * @param query
	 * @param page
	 * @param pagesize
	 * @return
	 */
	public Map<String, Object> findOrderByPage(OrderExample query,int page,int pagesize);
	/**
	 * 提交订单，下单之后会发送邮件
	 * @param order
	 * @param host TODO
	 * @return
	 */
	public Map<String,Object> placeOrder(Order order, String host);
}
